﻿using Stee.CAP8.Entity;
using System;
using System.ComponentModel.DataAnnotations;

namespace DataInit.Entities
{

    /// <summary>
    /// T_ETYINCADDR实体对象
    /// </summary>
    public class IncidentAddress : BaseEntity
    {
        /// <summary>
        /// IncidentNumber
        /// </summary>
        public long IncidentId{ get; set; }

        /// <summary>
        /// CHNNAME
        /// </summary>
        [RegularExpression("[\u4e00-\u9fa5]{11}")]

        //[RegularExpression("\\d{11}")
        public string ChineseName { get; set; }

        /// <summary>
        /// ENGNAME
        /// </summary>
        public string EnglishName { get; set; }
    }
}